<% found_prop = false %>
<% inherited_method_list do |superclass, props| %>
  <% if method_listing.size == 0 && !found_prop %><h2>Method Summary</h2><% end %>
  <% found_prop = true %>
  <h3 class="inherited">Methods <%= superclass.type == :class ? 'inherited' : 'included' %>
     from <%= linkify superclass %></h3>
  <p class="inherited"><%= props.map {|c| linkify c, c.name }.join(", ") %></p>
<% end %>
